import scrapy


class TunnelProxyUseSpider(scrapy.Spider):
    name = "tunnel_proxy_use"
    # allowed_domains = ["a.com"]
    # start_urls = ["https://a.com"]

    async def start(self):
        for url in  [f"https://httpbin.org/get?age={i}" for i in range(20)]:
            yield scrapy.Request(url=url)

    def parse(self, response):
        print(response.json())
